package com.amumu.drama.common.modules.service.impl.payment;

import com.amumu.drama.common.constant.PayStatusEnum;
import com.amumu.drama.common.modules.order.dto.OmsOrderDetail;
import com.amumu.drama.model.UmsMember;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class PaymentResp {

    @ApiModelProperty("支付类型")
    private String payType;

    @ApiModelProperty("支付状态")
    private PayStatusEnum payStatusEnum;

    @ApiModelProperty("订单号")
    private String orderSn;

    @ApiModelProperty("支付流水号")
    private String payOrderSn;

    @ApiModelProperty("支付跳转地址")
    private String payUrl;

    @ApiModelProperty("订单支付备注")
    private String payRemark;

    /** -------- 记录日志--------- */
    @ApiModelProperty("订单支付时间")
    private LocalDateTime applyTime;

    @ApiModelProperty("订单支付确认时间")
    private LocalDateTime applyConfirmTime;

    @ApiModelProperty("接口请求信息")
    private String reqInfo;

    @ApiModelProperty("接口响应信息")
    private String respInfo;

    @ApiModelProperty("响应消息")
    private String respMsg;

    @ApiModelProperty("订单金额")
    private BigDecimal payAmount;

    @ApiModelProperty("退款原因")
    private String refundReason;

    /**-------- 通知接口专用字段--------- */
    /** 订单详情 */
    private OmsOrderDetail orderDetail;

    /** 用户信息 */
    private UmsMember umsMember;

}
